//
//  UserTableViewCell.m
//  TakeHer
//
//  Created by 胖疙瘩的小疙瘩 on 15/6/17.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "UserTableViewCell.h"
#import "DetailInfo.h"

@implementation UserTableViewCell

- (void)dealloc
{
    [_travelImageView release];
    [_detailInfo release];
    [_authorImage release];
    [_nameLabel release];
    [_timeLabel release];
    [super dealloc];
}


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
    self.travelImageView = [[UIImageView alloc] init];
    
    self.travelImageView.layer.cornerRadius = 5;
    self.travelImageView.layer.borderWidth = 0;
    self.travelImageView.layer.masksToBounds = YES;
    [self.contentView addSubview:self.travelImageView];
    [_travelImageView release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
//    CGSize size = [UIScreen mainScreen].bounds.size;
//    if (self.detailInfo != nil) {
//        NSString *Image = [HandlerImage handlerImage:self.travelNotesList.cover_image];
//        [self.travelImageView setImageWithURL:[NSURL URLWithString:Image] placeholderImage:[UIImage imageNamed:@"台1.jpg"]];
}


@end
